{include file="layout/layout" /}
<body style="background-color: #FFF; overflow: auto;">
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
    <div class="fixed-bar">
        <div class="item-title">
            <div class="subject">
                <h3>账户信息</h3>
            </div>
        </div>
    </div>
    <!-- 操作说明 -->
    <form method="post" id="handlepost" action="{:url('System/alisms')}" enctype="multipart/form-data" name="form1">
        <input type="hidden" name="inc_type" value="">
        <div class="ncap-form-default">
            <dl class="row">
                <dt class="tit">
                    <label for="sms_appkey"> <i class="fa  fa-info-circle"></i> 代理编号 </label>
                </dt>
                <dd class="opt">
                    <p class="notic">{$info.agem_number}</p>
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label for="sms_secretKey"><i class="fa fa-user"></i>代理负责人</label>
                </dt>
                <dd class="opt">
                    <p class="notic">{$info.agem_principals}</p>
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label for="sms_product"><i class="fa fa-phone"></i>联系电话</label>
                </dt>
                <dd class="opt">
                    <p class="notic">{$info.agem_phone} </p>
                </dd>
            </dl>

            <dl class="row">
                <dt class="tit">
                    <label for="sms_product"><i class="fa fa-sitemap"></i>最大商户数</label>
                </dt>
                <dd class="opt">
                    <p class="notic">{$info.agem_shop_max} 户</p>
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label for="sms_product"><i class="fa fa-university"></i>已有商户数</label>
                </dt>
                <dd class="opt">
                    <p class="notic">{$info.agem_shop} 户</p>
                </dd>
            </dl>

            <dl class="row">
                <dt class="tit">
                    <label for="sms_product"><i class="fa fa-money"></i>总收入金额</label>
                </dt>
                <dd class="opt">
                    <p class="notic">{$info.agem_brokerage/100} 元</p>
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label for="sms_product"><i class="fa fa-envelope"> </i> 账户余额</label>
                </dt>
                <dd class="opt">
                    <p class="notic">{$info.agem_account/100} 元</p>
                </dd>
            </dl>

            <dl class="row">
                <dt class="tit">
                    <label for="sms_product"><i class="fa fa-ticket"></i>注册地址</label>
                </dt>
                <dd class="opt">
                    <p class="notic">{$info.provincename.$info.cityname.$info.regioname.$info.agem_address}</p>
                </dd>
            </dl>

            <dl class="row">
                <dt class="tit">
                    <label for="sms_product"><i class="fa fa-calendar"></i>加入时间</label>
                </dt>
                <dd class="opt">
                    <p class="notic">{$info.agem_create_time}</p>
                </dd>
            </dl>

            <dl class="row">
                <dt class="tit">
                    <label for="sms_product"><i class="fa fa-paw"></i>代理区域</label>
                </dt>
                <dd class="opt">
                    {foreach $agea as $k =>$v}

                    <span class="notic" style="background-color: #76b4ff;padding:5px;">{$v.merger_name}</span>
                    {if $k==5}<br/><br/>{/if}
                    {/foreach}
                </dd>
            </dl>
            <!--<div class="bot"><a href="JavaScript:void(0);" class="ncap-btn-big ncap-btn-green" onclick="document.form1.submit()">确认提交</a></div>-->
        </div>
    </form>
</div>
<div id="goTop"> <a href="JavaScript:void(0);" id="btntop"><i class="fa fa-angle-up"></i></a><a href="JavaScript:void(0);" id="btnbottom"><i class="fa fa-angle-down"></i></a></div>
</body>
<script type="text/javascript">
    $('#button-ceshi').click(function(){
        var phone = $('#ceshi').val();
        if(!(/^1[3|4|5|7|8][0-9]\d{4,8}$/.test(phone))){
            layer.open({
                content: '手机号码格式不正确！',
                icon: 2,
            });
            return false;
        }
        $.ajax({
            type:'get',
            data:{'phone':phone},
            dataType:'json',
            url:"{:url('system/smsphone')}",
            success:function(){
                alert();
            }
        })
    })

</script>
</html>